<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>灵活保险补贴申请</title>
  <link rel="stylesheet" href="./styles/css/common.css">
  <link rel="stylesheet" href="./styles/css/jbxx.css">
</head>

<body>
  <div class="all">
    <!-- 头部开始 -->
    <script src="http://rsj.beijing.gov.cn/images/rsj_header.js"></script>
    <include src="./include/head.html"></include>
    <!-- 头部结束 -->
    <!-- 申请提示开始 -->
    <div class="message">
      <div class="content">
        <div class="zuo left">
          <div class="titles concommon">
            <a href="./index.html">
              首页</a> <span class="on">|</span>
            <span>我的申请</span>
          </div>
          <div class="list concommon" id="Detail">
            <script type="text/html" id="listTem">
              <%for(var i = 0; i < data.length; i++) {%>
            <div class="_li on mar_bot J_sq"  style="height:auto;cursor:pointer;" sqid="<%=data[i].sqid%>">
            <%if(data[i].sqsj){%>
                <div class="clearfix">
                    <span class="left sydjzx">申请日期：</span>
                    <span class="left zxyy sydjzxyy"><%=data[i].sqsj%></span>
                </div>
                <%}%>
              <div class="clearfix">
                  <div class="left bl_r" style="width:55%;">
                      <span class="rblsj" style="width:42%;">接收社保所：</span>
                      <span class="rbls"><%=data[i].jdxzqhmc%></span>
                  </div>
                <div class="left bl_l" style="width:40%;">
                  <span class="title_mc left" style="width:30%;font-weight:700;">办理结果:</span>
                 <%if(data[i].lczt == '0'){%>
                    <span class="left shzt shzt_shbtg bljgsh J_bljg"><%=data[i].lcztmc%></span>
                  <%}else if(data[i].lczt == '1'){%>
                    <span class="left shzt shzt_shtg bljgsh J_bljg"><%=data[i].lcztmc%></span>
                  <%}else if(data[i].lczt == '-1'){%>
                    <span class="left shzt shzt_shbtg bljgsh J_bljg"><%=data[i].lcztmc%></span>
                   <%}else{%>
                    <span class="left shzt shzt_shz bljgsh J_bljg"><%=data[i].lcztmc%></span>
                    <%}%>
                </div>
              </div>
            </div>
            <%}%>
            </script>
          </div>
        </div>
        <include src="./include/right.html"></include>
      </div>
    </div>
    <!-- 尾部开始 -->
    <script src="http://rsj.beijing.gov.cn/footer.js"></script>
    <!-- 尾部结束 -->
  </div>
  <!--机构名录弹框-->
  <div class="box" sfnr="0"></div>
  <script src="./common/vendor.js"></script>
  <script src="./common/generaltools.js"></script>
  <script src="./common/common.js"></script>
  <script>
    $(function () {
      var loading = new $.Loading();
      var sqid;
      var index = 0;
      loading.on();
      $('#Detail').pageTool({
        url: '/lhsq/wdsqCx',
        type: 'get',
        data:{
          pageNum: index,
          pageSize: 12
        },
        locator: 'returnData.wdsq',
        callback: function (result) {
          loading.off();
          var msg = result.returnData;
          if (msg.executeResult == '1') {
          } else {
            $.layerMsg(msg.message, '我知道了', function() {
              return false;
            });
          }
        }
      })
      //办理结果
      $(document).on('click','.J_sq',function(){
        sqid = $(this).attr('sqid')
        window.location.href = './searchDetail.html?sqid='+sqid;
      })
    });
  </script>
</body>

</html>
